﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace ERPStore.NewsLetters.Models
{
	[DataContract]
	public class Track
	{
		[DataMember]
		public int Id { get; set; }
		[DataMember]
		public DateTime CreationDate { get; set; }
		[DataMember]
		public DateTime EventDate { get; set; }
		[DataMember]
		public int CampaingId { get; set; }
		[DataMember]
		public string Email { get; set; }
		[DataMember]
		public string LinkName { get; set; }
		[DataMember]
		public int NewsLetterId { get; set; }
		[DataMember]
		public int? UserId { get; set; }
		[DataMember]
		public string Ip { get; set; }
		[DataMember]
		public string Url { get; set; }
		[DataMember]
		public string DestinationUrl { get; set; }
		[DataMember]
		public EmailSentResult EmailSent { get; set; }
	}
}
